Leadtools.Barcode Namespace > BarcodeData Class > Save Method : Save(Stream,BarcodeData[]) Method |
public static void Save( Stream stream, BarcodeData[] data )
'Declaration Public Overloads Shared Sub Save( _ ByVal stream As Stream, _ ByVal data() As BarcodeData _ )
'Usage Dim stream As Stream Dim data() As BarcodeData BarcodeData.Save(stream, data)
public static void Save( Stream stream, BarcodeData[] data )
public: static void Save( Stream^ stream, array<BarcodeData^>^ data )
The load/save methods are provided as helper methods for the user. The BarcodeEngine, BarcodeReader and BarcodeWriter do not use these methods internally.
data can be null (Nothing is Visual Basic). This is the equivalent of saving an empty array.
To load the data previously saved into an XML stream, use BarcodeData.Load(Stream stream).
To save and load data to an XML disk file, use BarcodeData.Save(string fileName, BarcodeData[] data) and BarcodeData.Load(string fileName).